<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head data-th-replace="seller/sellercommon/sellerhead"></head>
<body>
<!-- this is the common top begin -->
<top data-th-replace="seller/sellercommon/top"></top>
<!-- this is the common top end -->
<script src="/js/seller_setting.js"></script>

<div class="container-fluid">
    <left data-th-replace="seller/sellercommon/left"></left>
    <div class="col-xs-7 border-one border-radius mt-40 ml-30 mb-10"  style="min-height: 700px">
        <div class="mt-20">
            <a href="#">卖家中心</a>
            <span>&gt;</span>
            <span>修改店铺信息</span>
            <hr/>
        </div>
    <div class="col-md-6 col-sm-6 col-xs-12 ml-80">
        <div class="panel panel-info">
            <div class="panel-heading">
                <h3 class="text-center">信息修改</h3>
            </div>
            <div class="panel-body">
                <form role="form" method="post" th:action="@{/seller/updateSellerInfo}" th:object="${seller}" onsubmit="return checkAll()">
                    <div class="form-group">
                        <h4 class="not-allowed">用户名：<span disabled="disabled" th:text="${seller.getName()}" class="forbidInfo"></span></h4>
                    </div>
                    <div class="form-group">
                        <h4 class="not-allowed">学号：<span disabled="disabled" th:text="${seller.studentNumber}" class="forbidInfo"></span></h4>
                    </div>
                    <div class="form-group">
                        <h4>修改密码:</h4>
                        <input class="form-control" type="password" name="password" th:value="${seller.password}" value="" id="password"/><span class="text-red"></span>
                    </div>
                    <div class="form-group">
                        <h4>确认新密码:</h4>
                        <input class="form-control" type="password" name="repass" th:value="${seller.password}" value="" id="repass"/><span class="text-red"></span>
                    </div>
                    <div class="form-group">
                        <h4>修改店铺名:</h4>
                        <input class="form-control" type="text" name="shopName" value="" th:value="${seller.shopName}" id="shopName"/><span class="text-red"></span>
                    </div>
                    <div class="form-group">
                        <h4>修改手机号:</h4>
                        <input class="form-control" type="text" name="mobile" th:value="${seller.mobile}" value="" id="mobile"/><span class="text-red"></span>
                    </div>
                    <div><input type="submit" class=" mt-5 ml-5 btn-info btn-lg" value="提交商品信息"/></div>
                </form>
                <div class="col-xs-5"></div>
            </div>
        </div>
    </div>
    <div class="col-xs-1"></div>
</div>




<!--This is the common footer Begin-->
<bottom data-th-replace="seller/sellercommon/bottom"></bottom>



<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../js/common/jquery-3.1.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../bootstrap/dist/js/bootstrap.min.js"></script>

</body>
</html>